package org.jrpc.base;

import io.netty.bootstrap.Bootstrap;
import io.netty.channel.EventLoopGroup;
import org.jrpc.common.baen.RpcRequest;
import org.jrpc.common.baen.RpcResponse;

/**
 * Created by Administrator on 2017/8/30.
 */
public interface IClient {
    ResultResponse put(RpcRequest request);
    RpcResponse init(EventLoopGroup eventLoop)throws Exception;
    Bootstrap createBootstrap(Bootstrap bootstrap, EventLoopGroup eventLoop);
}
